package com.tien.service;

import java.util.List;

import com.tien.model.User;

/**
 *
 * @author  Tian 
 * @Mail    tianxin_star@163.com
 * @version date：Mar 13, 2012 2:03:24 PM
 * 
 */
public interface UserService {
	User findUserByUserName(String userName);
	List<User> findAllUsers(int start, int limit);
	Long findAllUsersTotalRows();
	
	Long updateUser(User user);
	Long addUser(User user);
	void deleteUserById(Long id);
}
